package com.springboot.cloud.sysadmin.organization.entity.po;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.springboot.cloud.common.web.entity.po.BasePo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Created by ZengJian on 2021/2/3 0003 上午 9:22
 */
@ApiModel
@Data
@Builder
@NoArgsConstructor(force=true)
@AllArgsConstructor
@TableName("resource")
public class Resource extends BasePo {

    private String parentId;
    private String name;
    private String title;
    private String code;
    private String type;
    private String url;
    private String method;
    private Integer orderNum;
    private String component;
    private String path;
    private String perms;
    private String isFrame;
    private String isCache;
    private String isHidden;
    private String icon;
    private String description;
    private Boolean enabled;
    private Boolean visible;
    @TableLogic
    private String deleted = "N";
    private String mold;

}
